<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>


        div{
            width: 100px;
            height: 100px;
            background-image:linear-gradient(to right bottom,red,pink,cyan);
            /* background-image: url(../音视频/音视频/6.jpg); */
            background-repeat: no-repeat;
            margin:17px 23px 22px 18px;
            padding:16px 25px 19px 27px;
            border: 3px solid pink;



        }

        section{
            box-sizing: border-box;
            width: 100px;
            height: 100px;
            background-image: radial-gradient(red,pink,cyan);
            margin:23px 17px 19px 27px;
            padding: 19px 15px 17px 22px;
            border: 3px solid orange;
        }
    </style>
</head>
<body>
    <div>内容盒子</div>
    <section>边框盒子</section>
</body>
</html>  